package cn.jtcoding.xhs.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author jason.tang
 * @Date 2020/8/4 17:49
 * @Desc
 */

@ApiModel("笔记")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NoteVO implements Serializable {
    private static final long serialVersionUID = -1537314859918174804L;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("显示图片")
    private String displayImage;

    @ApiModelProperty("用户头像")
    private String userPicture;

    @ApiModelProperty("用户编号")
    private Integer userNum;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("话题")
    private String topicTagName;

    @ApiModelProperty("喜欢数量")
    private Integer likeCount;

    @ApiModelProperty("收藏数量")
    private Integer collectCount;

    @ApiModelProperty("评论数量")
    private Integer commentCount;

    @ApiModelProperty("图片地址")
    private String[] imageUrls;

    @ApiModelProperty("视频地址")
    private String videoUrl;

    @ApiModelProperty(value = "类型", example = "IMAGE, VIDEO")
    private String type;
}
